package com.ruikc.study.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import java.io.Serial;


/**
 * 仓库表，用于管理仓库的信息 实体类。
 *
 * @author zhiyuan
 * @since 2025-02-22
 */
@Table("warehouse")
public class Warehouse implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 仓库的唯一标识符，自增主键
     */
    @Id(keyType = KeyType.Auto)
    private Integer warehouseId;

    /**
     * 仓库编号
     */
    private String warehouseCode;

    /**
     * 仓库名称
     */
    private String title;

    /**
     * 仓库的地理位置
     */
    private String location;

    /**
     * 仓库的容量
     */
    private Integer capacity;

    /**
     * 仓库记录的创建时间
     */
    private String createdAt;

    /**
     * 仓库记录的更新时间
     */
    private String updatedAt;

    /**
     * 仓库记录的删除时间，若未删除则为空
     */
    private String deletedAt;

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(String deletedAt) {
        this.deletedAt = deletedAt;
    }

}
